package com.wyz.note.project.security.service.impl;

import com.wyz.note.project.security.mapper.MenuMapper;
import com.wyz.note.project.security.pojo.Menu;
import com.wyz.note.project.security.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @Author: wei yz
 * @Date: 2022/6/18 14:43
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<Menu> getAllMenu() {
        return menuMapper.getAllMenu();
    }
}
